<?php
namespace Home\Model;
//物品基础属性
class CityBase extends Base{
    protected $redis;
    protected $user;
    protected $username ;
    protected $city;
    public function __construct($user, $class = 'city'){
        //数据集
        parent::__construct($user, $class.':'.$user->city);
    }
   
} 